<!DOCTYPE html>
<html>

<head>
    <title>Modify axis, legend, and plot labels</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
    <link rel="stylesheet" type="text/css" href="https://rdocumentation.rsharp.net/assets/page.css">
</head>

<body>
    <div class="container">

        <table style="width: 100%;">
            <tr>
                <td>ylab {ggplot2}</td>
                <td style="text-align: right;">R Documentation</td>
            </tr>
        </table>

        <h2>Modify axis, legend, and plot labels</h2>

        <h3>Description</h3>

        <p><br /> Good labels are critical for making your plots accessible to a <br /> wider audience. Always ensure the axis and legend labels display <br /> the full variable name. Use the plot title and subtitle to <br /> explain the main findings. It's common to use the caption to <br /> provide information about the data source. tag can be used for <br /> adding identification tags to differentiate between multiple <br /> plots.</p>

        <h3>Usage</h3>

        <div style="width: 100%; padding-left: 3%; color: black;">
            <pre><code class='language-R' style="color: black; font-weight:normal;"><strong>ylab</strong>(<i>label</i>);</code></pre>
        </div>

        <h3>Arguments</h3>

        <table>
            
<dt>label</dt>
<dd><p>The title of the respective axis (for xlab() or ylab()) or 
 of the plot (for ggtitle()). [as string]</p></dd>

        </table>


        <h3 style="display: block;">Details</h3>

        <p>You can also set axis and legend labels in the individual scales 
 (using the first argument, the name). If you're changing other 
 scale options, this is recommended.
 
 If a plot already has a title, subtitle, caption, etc., And you want 
 To remove it, you can Do so by setting the respective argument To 
 NULL. For example, If plot p has a subtitle, Then p + labs(subtitle = NULL) 
 will remove the subtitle from the plot.</p>

        <h3 style="display: block">Authors</h3>

        SMRUCC genomics institute

        <h3>Value</h3>

        this function returns data object of type <a href="/vignettes/clr/ggplot/options/ggplotOption.html">ggplotOption</a>.<h4>clr value class</h4><ul><li><a href="/vignettes/clr/ggplot/options/ggplotOption.html">ggplotOption</a></li></ul>

        <h3 style="display: none;">Examples</h3>

        

        <hr />
        <div style="text-align: center;">[Package <em>ggplot2</em> version 1.0.0.0 <a
                href="../ggplot2.html">Index</a>]
        </div>
    </div>
</body>

<script type="text/javascript" src="https://rdocumentation.rsharp.net/assets/R_syntax.js"></script>
<script type="text/javascript" src="https://rdocumentation.rsharp.net/assets/highlights.js"></script>
<script type="text/javascript">r_highlights("example_r");</script>

</html>